{% extends 'basepl.html' %}
{% block head %}
    <title>留言/评论</title>
    <style>
        #ly1{
            background-color: ghostwhite;

            border: rgba(56, 25, 169, 0.07) solid ;
            width: 550px;
            height: 590px;
            left: 0;
            position: absolute;
        }
        #plshow{
            position: absolute;
            padding-right:10px;
            overflow-y:auto;
            padding-left:10px;
            SCROLLBAR-FACE-COLOR:#ffffff;
            font-size:11pt;
            padding-bottom:0;
            scrollbar-highlight-color:#ffffff;
            scrollbar-shadow-color:#919192;
            color:black;
            scrollbar-3dlight-color:#ffffff;
            line-height:100%;
            scrollbar-arrow-color:#919192;
            padding-top:0;
            scrollbar-track-color:#ffffff;
            font-family: 宋体;
            scrollbar-darkshadow-color:#ffffff;
            letter-spacing:1pt;
            height:500px;
            width: 500px;
            top: 0;
        }
        #plshow>table{
            background-color: white;
            {#border: dodgerblue double;#}
            }
        #fbpl{
            border: gray solid;
            position: absolute;
            bottom: 0;
            height: 60px;
        }
    </style>
{% endblock head%}
{% block nav %}
<li><a href="#">&#10047;&#10047;&#10047;</a></li>
<li><a href="#top">大学课程教学过程管理系统</a></li>
<li><a href="/">切换账号</a></li>
<li><a href="#">&#9658;&#9668;</a></li>
<li><a href="#">关于</a></li>
<li><a href="/">注销</a></li>
{% endblock %}
{% block li %}

    {{ li | safe }}
{% endblock li %}

{% block section %}
<div id="ly1">
    <div id="plshow" >
        <h5 align="center">{{ title }}</h5>

        {% for foo in detail %}
        <table cellspacing="1px" >
            <tr><td align="left">{{ foo.snum }}</td></tr>
            <tr><td  >&nbsp;&nbsp;&nbsp;{{ foo.lytext }}</td></tr>
            <tr><td  align="right">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{ foo.lytime}}</td></tr>
            <tr><td>------------------------------------------------------</td></tr>
        </table>
        {% endfor %}
    </div>
    <div id="fbpl">
         <form method="POST" enctype="multipart/form-data" >
             {% csrf_token %}
            <textarea name="text" id="" cols="50" rows="2" required></textarea>
            <input type="submit" value="发布">
        </form>
    </div>
</div>
{% endblock section %}

